package com.ydgk.dao;

import com.ydgk.bean.Record;

import java.sql.Date;
import java.util.List;

public class RecordDao extends BaseDao<Record> {

    public int insert(int uid,String dowhat){
        Date date=new Date(System.currentTimeMillis());
        return this.template.update("insert into recode VALUES (null,?,?,?)",uid,date,dowhat);
    }

    @Override
    public int save(Record record) {
        return 0;
    }

    @Override
    public int updateById(Record record) {
        return 0;
    }

    @Override
    public int deleteById(int id) {
        return 0;
    }

    @Override
    public List<Record> findAll() {
        return null;
    }

    @Override
    public Record findById(int id) {
        return null;
    }

    @Override
    public List<Record> paging(int pageNumber) {
        return null;
    }
}
